<div class="detail">
<?php 
	echo $this->Form->create('Mean', array('action'=>'add'));
	echo $this->Form->input('Mean.name', array('value'=>empty($mean) ? '': $mean['Mean']['name']));
	echo $this->Form->input('price', array('type'=>'float', 'value'=>empty($mean) ? '': $mean['Mean']['price']));
	echo $this->Form->hidden('id', array('value'=>empty($mean) ? '':$mean['Mean']['id']));
	echo $this->Form->submit(__('Save'));
	
	echo $this->Html->link(__('Cancel'), array('controller'=>'means', 'action'=>'index'));
	echo $this->Form->end();
?>

</div>